package com.bian.springboot03autoconfig.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author bianpengfei
 * @create 2019-01-26 14:54
 **/
@ConfigurationProperties(prefix = "student")
public class Student {

    private List<String> list;

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "Student{" +
                "list=" + list +
                '}';
    }
}
